package com.ymtms.costaccounting.dao;

import com.ymtms.costaccounting.pojo.FinancialFee;
import org.apache.ibatis.annotations.Update;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public interface FinancialFeeMapper {
    int deleteByPrimaryKey(Integer ffid);

    int insert(FinancialFee record);

    int insertSelective(FinancialFee record);

    FinancialFee selectByPrimaryKey(Integer ffid);

    int updateByPrimaryKeySelective(FinancialFee record);

    int updateByPrimaryKey(FinancialFee record);

    List<FinancialFee> selectFfeeAll(String ffeeInfo);

    @Update("update financial_fee set flag = 1  where ffid = #{ffid}")
    Integer ffeeDel(Integer ffid);
}